<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">
  <h:head>
    <meta http-equiv="Cache" content="no-cache" />
    <!--<link rel="stylesheet" href="#{facesContext.externalContext.request.contextPath}/resources/css/estilo.css" type="text/css" media="all"/>
    <script language="javascript" src="#{facesContext.externalContext.request.contextPath}/resources/js/geral.js" type="text/javascript"></script>-->
    <title>Template Web</title>
  </h:head>
  <h:body>
    <h:form id="form">
      <table width="100%">
        <tr>
          <td colspan="2" align="center">
            <ui:insert name="cabecalho">
              <h1>ADEGA</h1>
            </ui:insert>
          </td>
        </tr>
        <tr>
          <td width="200px" valign="top">
            <ui:insert name="menu">
              <h1>Menu</h1>
              <h:panelGrid columns="1">
                <h:commandLink value="Cadastro de Vinho" action="cadastrarVinho.xhtml"/>
              </h:panelGrid>
            </ui:insert>
          </td>
          <td>
            <ui:insert name="conteudo">
              
            </ui:insert>
          </td>
        </tr>
        <tr>
          <td colspan="2" align="center">
            <ui:insert name="rodape">
              <h3>Rodape</h3>
            </ui:insert>
          </td>
        </tr>
      </table>
    </h:form>
  </h:body>
</html>




<!-- 
<html xmlns="http://www.w3.org/1999/xhtml"  
      xmlns:jsp="http://java.sun.com/JSP/Page"  
      xmlns:c="http://java.sun.com/jstl/core_rt">  
  
    <head>  
       <meta http-equiv="Refresh" content= "0; URL=index.jsf"/>
      <title>Sample Application</title>  
    </head>  
    <body>
       
    <c:redirect url="cadastrarVinho.jsf"></c:redirect>
   <jsp:forward page="cadastrarVinho.jsf" />
  
    </body>  
  </html> 
-->